package com.cnap.model.cloud;

import com.cnap.model.schedule.engine.DataDisk;

import java.util.List;

/**
 * 虚机模型
 *
 * @author xc
 **/
public class CloudVmModel {
    // businessId
    private String businessId;
    // 云商
    private String cloudVendor;
    // cpu数量
    private int cpuNum;
    // 内存
    private int memByG;
    // 硬盘
    private int diskByG;
    // 虚机id
    private String vmId;
    // 虚机名称
    private String vmName;
    // 名称
    private String name;
    // 规格id
    private String flavorId;
    // 镜像id
    private String imageId;
    // regionId
    private String regionId;
    // zoneId
    private String zoneId;
    // sysDiskSize
    private int sysDiskSize;
    // 硬盘
    private List<DataDisk> dataDisks;
    // 带宽
    private int bandwidth;
    // 付费模式
    private String vmChargeType;
    // 单位
    private String chargeUnit;
    // 数量
    private int chargeCount;
    // 付费模式
    private String eipChargeType;
    // 云商
    private String cloudType;
    // sysDiskType
    private String sysDiskType;

    /**
     * get
     *
     * @return SysDiskType
     */
    public String getSysDiskType() {
        return sysDiskType;
    }

    /**
     * set
     *
     * @param sysDiskType sysDiskType
     */
    public void setSysDiskType(String sysDiskType) {
        this.sysDiskType = sysDiskType;
    }

    /**
     * get
     *
     * @return BusinessId
     */
    public String getBusinessId() {
        return businessId;
    }

    /**
     * set
     *
     * @param businessId businessId
     */
    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    /**
     * get
     *
     * @return CloudVendor
     */
    public String getCloudVendor() {
        return cloudVendor;
    }

    /**
     * set
     *
     * @param cloudVendor cloudVendor
     */
    public void setCloudVendor(String cloudVendor) {
        this.cloudVendor = cloudVendor;
    }

    /**
     * get
     *
     * @return CpuNum
     */
    public int getCpuNum() {
        return cpuNum;
    }

    /**
     * set
     *
     * @param cpuNum cpuNum
     */
    public void setCpuNum(int cpuNum) {
        this.cpuNum = cpuNum;
    }

    /**
     * get
     *
     * @return MemByG
     */
    public int getMemByG() {
        return memByG;
    }

    /**
     * set
     *
     * @param memByG memByG
     */
    public void setMemByG(int memByG) {
        this.memByG = memByG;
    }

    /**
     * get
     *
     * @return DiskByG
     */
    public int getDiskByG() {
        return diskByG;
    }

    /**
     * set
     *
     * @param diskByG diskByG
     */
    public void setDiskByG(int diskByG) {
        this.diskByG = diskByG;
    }

    /**
     * get
     *
     * @return VmId
     */
    public String getVmId() {
        return vmId;
    }

    /**
     * set
     *
     * @param vmId vmId
     */
    public void setVmId(String vmId) {
        this.vmId = vmId;
    }

    /**
     * get
     *
     * @return VmName
     */
    public String getVmName() {
        return vmName;
    }

    /**
     * set
     *
     * @param vmName vmName
     */
    public void setVmName(String vmName) {
        this.vmName = vmName;
    }

    /**
     * get
     *
     * @return Name
     */
    public String getName() {
        return name;
    }

    /**
     * set
     *
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * get
     *
     * @return FlavorId
     */
    public String getFlavorId() {
        return flavorId;
    }

    /**
     * set
     *
     * @param flavorId flavorId
     */
    public void setFlavorId(String flavorId) {
        this.flavorId = flavorId;
    }

    /**
     * get
     *
     * @return ImageId
     */
    public String getImageId() {
        return imageId;
    }

    /**
     * set
     *
     * @param imageId imageId
     */
    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    /**
     * get
     *
     * @return RegionId
     */
    public String getRegionId() {
        return regionId;
    }

    /**
     * set
     *
     * @param regionId regionId
     */
    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    /**
     * get
     *
     * @return ZoneId
     */
    public String getZoneId() {
        return zoneId;
    }

    /**
     * set
     *
     * @param zoneId zoneId
     */
    public void setZoneId(String zoneId) {
        this.zoneId = zoneId;
    }

    /**
     * get
     *
     * @return SysDiskSize
     */
    public int getSysDiskSize() {
        return sysDiskSize;
    }

    /**
     * set
     *
     * @param sysDiskSize sysDiskSize
     */
    public void setSysDiskSize(int sysDiskSize) {
        this.sysDiskSize = sysDiskSize;
    }

    /**
     * get
     *
     * @return DataDisks
     */
    public List<DataDisk> getDataDisks() {
        return dataDisks;
    }

    /**
     * set
     *
     * @param dataDisks dataDisks
     */
    public void setDataDisks(List<DataDisk> dataDisks) {
        this.dataDisks = dataDisks;
    }

    /**
     * get
     *
     * @return Bandwidth
     */
    public int getBandwidth() {
        return bandwidth;
    }

    /**
     * set
     *
     * @param bandwidth bandwidth
     */
    public void setBandwidth(int bandwidth) {
        this.bandwidth = bandwidth;
    }

    /**
     * get
     *
     * @return VmChargeType
     */
    public String getVmChargeType() {
        return vmChargeType;
    }

    /**
     * set
     *
     * @param vmChargeType vmChargeType
     */
    public void setVmChargeType(String vmChargeType) {
        this.vmChargeType = vmChargeType;
    }

    /**
     * get
     *
     * @return ChargeUnit
     */
    public String getChargeUnit() {
        return chargeUnit;
    }

    /**
     * set
     *
     * @param chargeUnit chargeUnit
     */
    public void setChargeUnit(String chargeUnit) {
        this.chargeUnit = chargeUnit;
    }

    /**
     * get
     *
     * @return ChargeCount
     */
    public int getChargeCount() {
        return chargeCount;
    }

    /**
     * set
     *
     * @param chargeCount chargeCount
     */
    public void setChargeCount(int chargeCount) {
        this.chargeCount = chargeCount;
    }

    /**
     * get
     *
     * @return EipChargeType
     */
    public String getEipChargeType() {
        return eipChargeType;
    }

    /**
     * set
     *
     * @param eipChargeType eipChargeType
     */
    public void setEipChargeType(String eipChargeType) {
        this.eipChargeType = eipChargeType;
    }

    /**
     * get
     *
     * @return CloudType
     */
    public String getCloudType() {
        return cloudType;
    }

    /**
     * set
     *
     * @param cloudType cloudType
     */
    public void setCloudType(String cloudType) {
        this.cloudType = cloudType;
    }

    @Override
    public String toString() {
        return "CloudVmModel{" +
                "businessId='" + businessId + '\'' +
                ", cloudVendor='" + cloudVendor + '\'' +
                ", cpuNum=" + cpuNum +
                ", memByG=" + memByG +
                ", diskByG=" + diskByG +
                ", vmId='" + vmId + '\'' +
                ", vmName='" + vmName + '\'' +
                ", name='" + name + '\'' +
                ", flavorId='" + flavorId + '\'' +
                ", imageId='" + imageId + '\'' +
                ", regionId='" + regionId + '\'' +
                ", zoneId='" + zoneId + '\'' +
                ", sysDiskSize=" + sysDiskSize +
                ", dataDisks=" + dataDisks +
                ", bandwidth=" + bandwidth +
                ", vmChargeType='" + vmChargeType + '\'' +
                ", chargeUnit='" + chargeUnit + '\'' +
                ", chargeCount=" + chargeCount +
                ", eipChargeType='" + eipChargeType + '\'' +
                ", cloudType='" + cloudType + '\'' +
                ", sysDiskType='" + sysDiskType + '\'' +
                '}';
    }
}
